<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 18:02:10
         compiled from "../application/views/home/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:46755814255532122e305b0-52067670%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b54f7add59e2c27993826831f8bda2d17e1c1d45' => 
    array (
      0 => '../application/views/home/index.tpl',
      1 => 1431505728,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '46755814255532122e305b0-52067670',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hotnews' => 0,
    'news' => 0,
    'data1' => 0,
    'da1' => 0,
    'data5' => 0,
    'da5' => 0,
    'data8' => 0,
    'da8' => 0,
    'data2' => 0,
    'da2' => 0,
    'data3' => 0,
    'da3' => 0,
    'data4' => 0,
    'da4' => 0,
    'data6' => 0,
    'da6' => 0,
    'data7' => 0,
    'da7' => 0,
    'import' => 0,
    'i' => 0,
    'aca' => 0,
    'model' => 0,
    'cooperation' => 0,
    'cooper' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_55532123042871_16332663',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55532123042871_16332663')) {function content_55532123042871_16332663($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('home/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div id="rotation">
	<div class="shadow">
		<ul class="rotation-list">
			<?php  $_smarty_tpl->tpl_vars['news'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['news']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hotnews']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['news']->key => $_smarty_tpl->tpl_vars['news']->value) {
$_smarty_tpl->tpl_vars['news']->_loop = true;
?>
			<li class="rotation-tab" data-title="<?php echo h(str_cut($_smarty_tpl->tpl_vars['news']->value['Title'],80));?>
" data-brief="<?php echo $_smarty_tpl->tpl_vars['news']->value['Description'];?>
" data-href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['news']->value['Id']));?>
">
				<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['news']->value['Id']));?>
" target="_blank">
					<img src="<?php echo base_url();?>
/images/<?php echo $_smarty_tpl->tpl_vars['news']->value['Image'];?>
">
				</a>
			</li>
			<?php } ?>
			<div class="indicators">
				<span class="indicator active"></span>
				<span class="indicator"></span>
				<span class="indicator"></span>
				<span class="indicator"></span>
				<span class="indicator"></span>
			</div>
		</ul>
		<div class="banner">
			<a class="banner-title" target="_blank"></a>
			<a class="banner-info" target="_blank"></a>
			<div class="hotNewsBtn">
				<a href="<?php echo site_url("home/ArticleList?CateId=11");?>
" >热点新闻 >></a>
			</div>
		</div>
	</div>
</div>
<div id="content">
	<div class="container">
		<div class="offices">
			<div class="office oth1">
				<div class="office-name">
					<span>学院办公室</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=12");?>
" >more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da1'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da1']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da1']->key => $_smarty_tpl->tpl_vars['da1']->value) {
$_smarty_tpl->tpl_vars['da1']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da1']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da1']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da1']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth2">
				<div class="office-name">
					<span>科学研究</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=16");?>
" >more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da5'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da5']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data5']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da5']->key => $_smarty_tpl->tpl_vars['da5']->value) {
$_smarty_tpl->tpl_vars['da5']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da5']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da5']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da5']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth3">
				<div class="office-name">
					<span>人事人才</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=109");?>
" >more</a>
				</div>
				<ul class="office-list">
				        <?php  $_smarty_tpl->tpl_vars['da8'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da8']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data8']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da8']->key => $_smarty_tpl->tpl_vars['da8']->value) {
$_smarty_tpl->tpl_vars['da8']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da8']->value['Id']));?>
"><?php echo str_cut(h($_smarty_tpl->tpl_vars['da8']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da8']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth4">
				<div class="office-name">
					<span>国际合作</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=13");?>
" >more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da2']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da2']->key => $_smarty_tpl->tpl_vars['da2']->value) {
$_smarty_tpl->tpl_vars['da2']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da2']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da2']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da2']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth5">
				<div class="office-name">
					<span>本科生教育</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=14");?>
">more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da3'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da3']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data3']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da3']->key => $_smarty_tpl->tpl_vars['da3']->value) {
$_smarty_tpl->tpl_vars['da3']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da3']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da3']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da3']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth6">
				<div class="office-name">
					<span>研究生教育</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=15");?>
">more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da4'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da4']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data4']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da4']->key => $_smarty_tpl->tpl_vars['da4']->value) {
$_smarty_tpl->tpl_vars['da4']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da4']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da4']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da4']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			
			<div class="office oth7">
				<div class="office-name">
					<span>学生事务</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=17");?>
" >more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da6'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da6']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data6']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da6']->key => $_smarty_tpl->tpl_vars['da6']->value) {
$_smarty_tpl->tpl_vars['da6']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da6']->value['Id']));?>
"  ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da6']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da6']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
			<div class="office oth8">
				<div class="office-name">
					<span>继续教育</span>
					<a href="<?php echo site_url("home/ArticleList?CateId=18");?>
" >more</a>
				</div>
				<ul class="office-list">
					<?php  $_smarty_tpl->tpl_vars['da7'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['da7']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data7']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['da7']->key => $_smarty_tpl->tpl_vars['da7']->value) {
$_smarty_tpl->tpl_vars['da7']->_loop = true;
?>
					<li>
						<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['da7']->value['Id']));?>
" ><?php echo str_cut(h($_smarty_tpl->tpl_vars['da7']->value['Title']),68);?>
</a>
						<?php if (timediff(strtotime(date('Y-m-d')),$_smarty_tpl->tpl_vars['da7']->value['Time'])<3) {?>
						<span><img src="<?php echo base_url();?>
Public/img/new.png" alt=""></span>
						<?php }?>
					</li>
					<?php } ?>
				</ul>
			</div>
		</div>
		<div class="sidebar">
			<div class="tabs">  
				<p>重要通知&nbsp;&nbsp;Important Notice</p>
			</div>
			<div class="tab-content">
				<div class="tab-pane">
					<ul id="roll">
						<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable('0', null, 0);?>
						<?php  $_smarty_tpl->tpl_vars['aca'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['aca']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['import']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['aca']->key => $_smarty_tpl->tpl_vars['aca']->value) {
$_smarty_tpl->tpl_vars['aca']->_loop = true;
?>
						<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(((string)($_smarty_tpl->tpl_vars['i']->value+1)), null, 0);?>
						<?php if ($_smarty_tpl->tpl_vars['i']->value<8) {?>
						<li>
							<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['aca']->value['Id']));?>
">
								<div class="date">
									<p class="year"><?php echo date('Y',$_smarty_tpl->tpl_vars['aca']->value['Time']);?>
.<?php echo date('m',$_smarty_tpl->tpl_vars['aca']->value['Time']);?>
</p>
									<p class="day"><?php echo date('d',$_smarty_tpl->tpl_vars['aca']->value['Time']);?>
</p>
								</div>
								<p class="tab-info"><?php echo h(str_cut($_smarty_tpl->tpl_vars['aca']->value['Title'],90));?>
</p>
							</a>
						</li>
						<?php } else { ?>
						<li>
							<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['aca']->value['Id']));?>
">
								<p class="tab-info-normal"><?php echo h(str_cut($_smarty_tpl->tpl_vars['aca']->value['Title'],90));?>
</p>
							</a>
						</li>
						<?php }?>
						<?php } ?>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="column">
	<div class="container">
		<div class="column-box">
			<p class="chinese-name">榜样</p>
			<p class="english-name">Model Group</p>
			<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['model']->value[0]['Id']));?>
" target="_blank" style="display:block;">
				<img src="<?php echo base_url();?>
/images/<?php echo $_smarty_tpl->tpl_vars['model']->value[0]['Image'];?>
" style="display:block;">
				<p class="model-info"><?php echo h($_smarty_tpl->tpl_vars['model']->value[0]['Title']);?>
</p>
				<p class="model-detail"><?php echo h(str_cut($_smarty_tpl->tpl_vars['model']->value[0]['Description'],170));?>
</p>
			</a>
			<a href="<?php echo site_url("home/ArticleList?CateId=21");?>
" class="model-more" target="_blank">more</a>
		</div>
		<div class="column-box column-middle">
			<p class="chinese-name">院企合作</p>
			<p class="english-name">Enterprise Cooperation</p>
			<a href="javascript:;" target="_blank">
				<img src="<?php echo base_url();?>
/Public/img/enterprise.png">
			</a>
			<ul class="enterprise-info">
				<?php  $_smarty_tpl->tpl_vars['cooper'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cooper']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['cooperation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cooper']->key => $_smarty_tpl->tpl_vars['cooper']->value) {
$_smarty_tpl->tpl_vars['cooper']->_loop = true;
?>
				<li>
					<a href="<?php echo site_url("home/content?Id=".((string)$_smarty_tpl->tpl_vars['cooper']->value['Id']));?>
" target="_blank"><?php echo str_cut(h($_smarty_tpl->tpl_vars['cooper']->value['Title']),70);?>
</a>
				</li>
				<?php } ?>
			</ul>
			<a href="<?php echo site_url("home/ArticleList?CateId=68");?>
" class="model-more" target="_blank">more</a>
		</div>
		<div class="column-box">
			<p class="chinese-name">学院专栏</p>
			<p class="english-name">School Column</p>
			<a  href="http://uestc-gcxlzx.com/" class="school-column" target="_blank">
				<table>
					<tr>
						<td class="column-name">工程训练中心</td>
					</tr>
				</table>
				<img src="<?php echo base_url();?>
/Public/img/column_1.png">
			</a>
			<a  href="<?php echo site_url('home/Judge?Id=76');?>
" class="school-column" target="_blank">
				<table>
					<tr>
						<td class="column-name">电子科技大学</br>机器人队</td>
					</tr>
				</table>
				<img src="<?php echo base_url();?>
/Public/img/column_2.png">
			</a>
			<a  href="<?php echo site_url('home/Judge?Id=77');?>
" class="school-column" target="_blank">
				<table>
					<tr>
						<td class="column-name">机械电子工程学院</br>创新创业中心</td>
					</tr>
				</table>
				<img src="<?php echo base_url();?>
/Public/img/column_3.png">
			</a>
		</div>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ('home/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
